Basic Telephony Services Functions

The Basic Telephony functions are listed by category in the following tables. A function is identified as asynchronous if it will indicate completion in a REPLY message to the application. If the function always returns its result to the application immediately, the function is considered synchronous.

TAPI Initialization and Shutdown

lineInitializeEx18GE4YT

Initializes the Telephony API line abstraction for use by the invoking application. Synchronous.

lineShutdown3BUZZJU

Shuts down the application's use of the line Telephony API. Synchronous.

 

Line Version Negotiation

lineNegotiateAPIVersionUW_DUA

Allows an application to negotiate an API version to use. Synchronous.

 

Line Status and Capabilities

lineGetDevCapsFJ5UCZ

Returns the capabilities of a given line device. Synchronous.

lineGetDevConfig19SYTUS

Returns configuration of a media stream device. Synchronous.

lineGetLineDevStatus38.3VV

Returns current status of the specified open line device. Synchronous.

lineSetDevConfigI9Z_MN

Sets the configuration of the specified media stream device. Synchronous.

lineSetStatusMessagesJ36G_.

Specifies the status changes for which the application wants to be notified. Synchronous.

lineGetStatusMessages5BVOAT

Returns the application's current line and address status message settings. Synchronous.

lineGetID4OL17WJ

Retrieves a device ID associated with the specified open line, address, or call. Synchronous.

lineGetIconC5CAK7

Allows an application to retrieve an icon for display to the user. Synchronous.

lineConfigDialog71035C

Causes the provider of the specified line device to display a dialog box that allows the user to configure parameters related to the line device. Synchronous.

lineConfigDialogEdit136CGS2

Displays a dialog box allowing the user to change configuration information for a line device. Synchronous. Version 0x00010004.

 

Addresses

lineGetAddressCapsN4KBZ3

Returns the telephony capabilities of an address. Synchronous.

lineGetAddressStatus2201_FO

Returns current status of a specified address. Synchronous.

lineGetAddressIDYE9GMK

Retrieves the address ID of an address specified using an alternate format. Synchronous.

 

Opening and Closing Line Devices

lineOpen85WLQP

Opens a specified line device for providing subsequent monitoring and/or control of the line. Synchronous.

lineClose4OH836K

Closes a specified opened line device. Synchronous.

 

Address Formats

lineTranslateAddress7VLD64

Translates between an address in canonical format and an address in dialable format. Synchronous.

lineSetCurrentLocation8M5PLK

Sets the location used as the context for address translation. Synchronous.

lineSetTollList5KOT_JT

Manipulates the toll list. Synchronous.

lineGetTranslateCaps5MP1BU

Returns address translation capabilities. Synchronous.

 

Call States and Events

lineGetCallInfo1UPWZV0

Returns mostly constant information about a call. Synchronous.

lineGetCallStatusH0NJU2

Returns complete call status information for the specified call. Synchronous.

lineSetAppSpecificLTETOT

Sets the application-specific field of a call's information structure. Synchronous.

 

Request Recipient Services

These functions are used only in support of assisted telephony.

LineRegisterRequestRecipient3GEK060

Registers or deregisters the application as a request recipient for the specified request mode. Synchronous.

lineGetRequest0YN858

Gets the next request from the Telephony DLL. Synchronous.

 

Making Calls

lineMakeCallCSIH7C

Makes an outbound call and returns a call handle for it. Asynchronous.

lineDial85LEMN

Dials (parts of one or more) dialable addresses. Asynchronous.

 

Answering Inbound Calls

lineAnswer11X3ALW

Answers an inbound call. Asynchronous.

 

Toll Saver Support

lineSetNumRings_8ZHKV

Indicates the number of rings after which inbound calls are to be answered. Synchronous.

lineGetNumRingsY19NPS

Returns the minimum number of rings requested with lineSetNumRings_8ZHKV. Synchronous.

 

Call Privilege Control

lineSetCallPrivilege1OKJQIA

Sets the application's privilege to the privilege specified. Synchronous.

 

Call Drop

lineDrop1GH9N4G

Disconnects a call, or abandons a call attempt in progress. Asynchronous.

lineDeallocateCallEZD8AW

Deallocates the specified call handle. Synchronous.

 

Call Handle Manipulation

lineHandoffLQ2MUJ

Hands off call ownership and/or changes an application's privileges to a call. Synchronous.

lineGetNewCalls1DTOAWP

Returns call handles to calls on a specified line or address for which the application does not yet have handles. Synchronous.

lineGetConfRelatedCalls57._OY

Returns a list of call handles that are part of the same conference call as the call specified as a parameter. Synchronous.

 

Location and Country Information

lineTranslateDialog03Z_I.

Displays a dialog box allowing the user to change location and calling card information. Synchronous. Version 0x00010004.

lineGetCountryBRM_2E

Retrieves dialing rules and other information about a given country. Synchronous. Version 0x00010004.